package com.ruoyi.system.domain.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.entity.CommonEntity;
import com.ruoyi.common.core.domain.entity.SysMenu;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

/**
 * @author wux
 * @date 2023/5/20 17:00
 */
@Data
public class SysRoleVO implements Serializable {
    @ApiModelProperty(value = "角色ID")
    private Long id;

    @ApiModelProperty(value = "项目id")
    private Long projectId;

    @ApiModelProperty(value = "角色名称")
    private String name;

    @ApiModelProperty(value = "角色状态（0正常 1停用")
    private Long status;

    @ApiModelProperty(value = "删除标志（0代表存在 1代表删除）")
    private Long delFlag;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "关联账号数")
    private Integer bindUsers;

    @ApiModelProperty(value = "创建人")
    private Long createBy ;

    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    @ApiModelProperty(value = "更新人")
    private Long updateBy ;

    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;

    @ApiModelProperty(value = "菜单列表")
    List<SysMenu> menuList;
}
